 package com.education.platform.api.service;

 import com.education.platform.api.vo.request.BuyPaperVO;
 import com.education.platform.common.service.BaseService;
 import com.education.platform.dao.entity.ExaminPaperDO;
 import com.education.platform.dao.model.ExaminPaperModel;

 import java.util.List;

 /**
* describe: 试卷
* @author : 
* @date: 2020-07-15 08:43:11.650
**/
public interface ExaminPaperService  extends BaseService<ExaminPaperDO> {


     /**
      * 获取试卷列表
      * @param userId
      * @param gradeType
      * @return
      */
    List<ExaminPaperModel> getPaperList(Integer userId,String gradeType);


     /**
      * 购买试卷
      * @param buyPaperVO
      * @return
      */
    Boolean buyExamPaper(BuyPaperVO buyPaperVO);


     /**
      * 提交试卷
      * @param paperId
      * @param score
      * @return
      */
    float commitTestResult(Integer paperId,Float score);

}
